'use strict';

const Controller = require('egg').Controller;

class HomeController extends Controller {
  async home() {
    const { ctx } = this;
    // const db = this.app.mongodb;
    // const res = await db.collection('banner').find().toArray();
    // await ctx.render('home');
    ctx.body="home"
  }
}

module.exports = HomeController;
